package com.test.flyweightDemo;

/**
 * ${DESCRIPTION}
 *
 * @author muxiaoyu
 * @create 2017/06/19 13:25
 **/
public class Square implements Shape {
    private Integer sideLength;

    @Override
    public void draw() {
        System.out.println(this.toString());
        System.out.println(this.getSideLength());
    }

    public Integer getSideLength() {
        return sideLength;
    }

    public void setSideLength(Integer sideLength) {
        this.sideLength = sideLength;
    }
}
